/**
 * @Description TODO
 * @Author hhy
 * @Date 2020/9/23 11:05
 */
public class Python extends Snake {
    public Python(String name, String type) {
        super(name, type);
    }

    @Override
    public void eat() {
        System.out.println(getName()+"吃青蛙");
    }

    @Override
    public void play() {
        System.out.println("湖南超级麻辣"+getType());
    }
}
